package com.ejbBeans;

import java.rmi.RemoteException;

import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;
/**
 * @author Andrey_Guryanov
 * @version 1.6
 * @since 2011.0621
 */
public abstract class NodeBean implements EntityBean, NodeBeanDecorator
{
	
	public abstract void setUserId(String parentId);
  /**
   * This method create new instance.
   * @param pk Primary Key
   * @throws EJBException
   * @throws RemoteException
   */
   public void ejbCreate(Integer pk) throws EJBException, RemoteException
   {

   }
   
   public void ejbCreateNewMessage(String value, String userId) throws EJBException, RemoteException
   {

   }

   public void ejbActivate(){

   }

   public void ejbLoad() {

   }

   public void ejbPassivate() {

   }

   public void ejbRemove() throws RemoveException {

   }

   public void ejbStore() {

   }

    public void setEntityContext(EntityContext arg0){

    }

    public void unsetEntityContext(){

    }
}
